//
//  ICAppConfigFile.h
//  ICome
//
//  Created by zhangrongwu on 16/3/30.
//  Copyright © 2016年 iCom. All rights reserved.
//

#ifndef ICAppConfigFile_h
#define ICAppConfigFile_h

#define Level  1

#define kDiscvoerVideoPath @"Download/Video"  // video子路径
#define kAudioPath @"Download/Audio"  // audio子路径
#define kChildPath @"Chat/File"   // 暂时为这个存储文件

#define kVideoType @".mp4"        // video类型
#define kRecoderType @".aac"
#define kAccType @"aac"
#define kRecodAmrType @".aac"

// color
#define ICTEXTCOLOR_T1  ICRGB(0x212121)
#define ICTEXTCOLOR_T2  ICRGB(0x9a9a9a)
#define ICTEXTCOLOR_T3  ICRGB(0xbfbfbf)
#define ICHIGHLIGHTCOLOR ICRGB(0x606F95)
#define DARKBLUECOLOR   ICRGB(0x5f6f95)

// RGB颜色
#define IColor(r, g, b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]
#define ICRGB(rgbValue) [UIColor colorWithRed:((float)((rgbValue & 0xFF0000) >> 16)) / 255.0 green:((float)((rgbValue & 0xFF00) >> 8)) / 255.0 blue:((float)(rgbValue & 0xFF)) / 255.0 alpha:1.0]
#define BACKGROUNDCOLOR   ICRGB(0xF2F3F7) //ICRGB(0xf4f1f1)
#define SEARCHBACKGROUNDCOLOR  [UIColor colorWithRed:(110.0)/255.0 green:(110.0)/255.0 blue:(110.0)/255.0 alpha:0.4]
#define LINEBACKGROUNDCOLOR ICRGB(0xe0e0e0)
#define TABLECELLSELECTCOLOR ICRGB(0xe5e5e5)
#define MESSAGEDEFAULTCOLOR ICRGB(0x333333)
#define MESSAGEURLDEFAULTCOLOR ICRGB(0x3498fe)
#define ICSEARCHCANCELCOLOR    ICRGB(0xc9c9c9)      // 搜索取消颜色
#define SEARCH_HEIGHT_COLOR   ICRGB(0x12a2d7)       // 搜索高亮颜色
#define MENU_BACKGROUND_COLOR IColor(241, 241, 248) // 导航栏颜色
#define NE_BACKGROUND_COLOR ICRGB(0x3498fe)         // 导航栏背景颜色
#define DEFAULT_SUBJECT_COLOR [UIColor whiteColor]  // 导航栏标题按钮颜色
#define NE_LINE_COLOR ICRGB(0xc4c4c4)               // 导航底部线 颜色
#define NE_REDPACKET_BACKGROUND_COLOR  ICRGB(0xE44E4E) // 红包导航栏背景颜色

// 字体
#define ICFont(FONTSIZE)  [UIFont systemFontOfSize:(FONTSIZE)]
#define ICBOLDFont(FONTSIZE)  [UIFont boldSystemFontOfSize:(FONTSIZE)]

#endif /* ICAppConfigFile_h */





